package com.qdlc.p2p.dal.dao;

import com.qdlc.p2p.dal.common.dao.BaseDao;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dto.AdditionalDrawLotteryRule;
import com.qdlc.p2p.dal.model.AdditionalDrawLotteryRuleModel;

/**
 * Created by liaoxiangkai on 2015/11/12.
 */
public interface AdditionalDrawLotteryRuleDao extends BaseDao<AdditionalDrawLotteryRule> {

    PageDataList<AdditionalDrawLotteryRuleModel> list(AdditionalDrawLotteryRuleModel model);

    int toggleStatus(AdditionalDrawLotteryRuleModel model);
}
